/*
 * Lecturer.cpp
 *
 *  Created on: Mar 6, 2014
 *  Author: NakanPhung
 */

#include "Lecturer.h"

Lecturer::Lecturer() :
		Person() {
	field = "";
	title = "";
	expYear = "";

}

Lecturer::Lecturer(int id, string name, string dob, string addr, string field,
		string title, string expYear) :
		Person(id, name, dob, addr) {
	this->field = field;
	this->title = title;
	this->expYear = expYear;
}

void Lecturer::setField(string field) {
	this->field = field;
}

void Lecturer::setTitle(string title) {
	this->title = title;
}

void Lecturer::setExpYear(string expYear) {
	this->expYear = expYear;
}

string Lecturer::getField() {
	return field;
}

string Lecturer::getTitle() {
	return title;
}

string Lecturer::getExpYear() {
	return expYear;
}

void Lecturer::Print() {
	Person::Print();
	cout << "\nField: " << getField().c_str() << "\nTitle: "
			<< getTitle().c_str() << "\nExpYear: " << getExpYear().c_str()
			<< endl;
}

Lecturer::~Lecturer() {

}

